package com.apimarket.service;

import com.apimarket.dao.TypeMapper;
import com.apimarket.entity.Type;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description:
 * @Author ZXR
 * @Date 2021/6/24 21:26
 * @Version 1.0
 */

@Service
public class TypeService {
    @Autowired
    private TypeMapper  typeMapper;
    public List<Type> getTypeList() {
        List<Type> data=typeMapper.getTypeList();
        return data;
    }
}
